package com.cuit.dashboard.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @program: zuke
 * @description: 管理员与角色对应关系
 * @author: KamTang
 * @create: 2022-06-12 13:47
 **/
@Data
@TableName(value = "sys_admin_role")
public class SysAdminRoleEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId
    private Long id;

    /**
     * 管理员id
     */
    private Long userId;

    /**
     * 角色id
     */
    private Long roleId;
}
